<?php
/**
 * File: invite.php
 * 
 * This file contains the fbml tag to render the invite page.
 */
/**
 * 
 */
include 'lib/config.php';
include 'iHackyFunctions.php';
require_once 'lib/fbconfig.php';


//call to print the pages title
printTitle();

//function call to print the page's dashboard
printDashboard();

//function call to print the page's banner
printBanner($user);

//function call to print the navigation tabs of the page
printFbmlTabs(3);
?>

<fb:fbml>
<fb:request-form

action="index.php"
method="POST"
invite="true"
type="iHacky"
content="Your text goes here. <?php echo htmlentities("<fb:req-choice url=\"http://apps.facebook.com/ihackyapp\" label=\"Confirm\" />"); ?>">

<fb:multi-friend-selector
showborder="false"
actiontext="Invite your friends to use iHacky.">

</fb:request-form>
</fb:fbml>